package com.zzj.portalwebsite.Dao;

import com.zzj.portalwebsite.entity.article;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.SQLException;
import java.util.List;

public interface ArticalInfoDao {
    List<article> getarticles(int pagenum);

    article getNewsById(int id);

    boolean addNews(article news) throws SQLException;











}
